package com.test.clyq.entity;

/**
 * 日志转换. <br>
 * 日志转换实体.
 * <p>
 * Copyright: Copyright (c) 2010-4-13 下午04:56:03
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * Author: liuxl@c-platform.com
 * <p>
 * Version: 1.0
 * <p>
 */
public class ContrastingData {

	/** 数据 名称 */
	private String dataName;

	/** 新内容 */
	private String newData;

	/** 旧内容 */
	private String oldData;

	public String getDataName() {
		return this.dataName;
	}

	public String getNewData() {
		return this.newData;
	}

	public String getOldData() {
		return this.oldData;
	}

	public boolean isSame() {
		if (this.oldData != null && this.oldData.equals(this.newData)) {
			return true;
		}
		return false;
	}

	public void setDataName(String dataName) {
		this.dataName = dataName;
	}

	public void setNewData(String newData) {
		this.newData = newData;
	}

	public void setOldData(String oldData) {
		this.oldData = oldData;
	}
}
